/* body {
    font-family: Arial, sans-serif;
    background-image: url('../images/经贸.png');
    background-color: #f5f5f5;
  }
  
  h1 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  #register-form {
    width: 50%;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #accc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  #register-form label {
    display: block;
    margin-bottom: 10px;
  }
  
  #register-form input[type="text"],
  #register-form input[type="password"] {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  #register-form input[type="submit"] {
    width: 100%;
    height: 40px;
    background-color: #4CAF50;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  #register-form input[type="submit"]:hover {
    background-color: #3e8e41;
  }
  
  .error {
    color: #red;
    font-size: 12px;
    margin-top: 10px;
  }
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
}
h2 {
    text-align: center;
    margin-bottom: 20px;
}
form {
    max-width: 300px;
    margin: 0 auto;
}
label {
    margin-bottom: 5px;
    display: block;
}
input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    width: 100%;
}
h4{
    color: red;
} */
body {
    background-image: url('../images/经贸.png');
    background-size: cover;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    margin: 0;
    padding: 0; /* Adjusted padding to remove extra space */
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

form {
  max-width: 300px;
  margin: 0 auto;
}

label {
  margin-bottom: 5px;
  display: block;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  width: 100%;
}

h4 {
  color: red;
  margin-top: 10px; /* Adjusted margin for better spacing */
}